package org.omg.RTCORBA;

/**
 * Generated from IDL definition of enum "PriorityModel"
 * 
 * @author orbas IDL compiler
 */

public final class PriorityModelHolder implements
		org.omg.CORBA.portable.Streamable {
	public PriorityModel value;

	public PriorityModelHolder() {
	}

	public PriorityModelHolder(final PriorityModel initial) {
		value = initial;
	}

	public org.omg.CORBA.TypeCode _type() {
		return PriorityModelHelper.type();
	}

	public void _read(final org.omg.CORBA.portable.InputStream in) {
		value = PriorityModelHelper.read(in);
	}

	public void _write(final org.omg.CORBA.portable.OutputStream out) {
		PriorityModelHelper.write(out, value);
	}
}
